package com.example.blog.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * <p>
 * 栏目表
 * </p>
 *
 * @author 程序员逐梦
 * @since 2023-05-30
 */
@Data
public class CategoryDTO extends PageInfo {

    @ApiModelProperty("标题")
    @NotBlank(message = "请输入标题")
    private String title;

}
